package com.scpii.universal.dto;

public class EnterpriseDto {
	// Fields

	private Integer intEnterpId;
	private String varEnterpName;
	private Integer intEnterpTradeType;
	private String varEnterpLegalPerson;
	private String varEnterpLicenseImgUrl;
	private String varEnterpPhonenum;
	private String varEnterpEmail;
	private String varEnterpAddress;
	private Integer intDeleteSign;
	private String datUpdateDatetime;

	// 分类名称
	private String varTypeName;
	private Integer intTypeId;

	// Constructors

	/** default constructor */
	public EnterpriseDto() {
	}

	public EnterpriseDto(Integer intEnterpId) {
		super();
		this.intEnterpId = intEnterpId;
	}

	/** full constructor */
	public EnterpriseDto(Integer intEnterpId, String varEnterpName,
			Integer intEnterpTradeType, String varEnterpLegalPerson,
			String varEnterpLicenseImgUrl, String varEnterpPhonenum,
			String varEnterpEmail, String varEnterpAddress, Integer intTypeId,
			String varTypeName) {
		this.intEnterpId = intEnterpId;
		this.varEnterpName = varEnterpName;
		this.intEnterpTradeType = intEnterpTradeType;
		this.varEnterpLegalPerson = varEnterpLegalPerson;
		this.varEnterpLicenseImgUrl = varEnterpLicenseImgUrl;
		this.varEnterpPhonenum = varEnterpPhonenum;
		this.varEnterpEmail = varEnterpEmail;
		this.varEnterpAddress = varEnterpAddress;
		this.intTypeId = intTypeId;
		this.varTypeName = varTypeName;
	}

	public Integer getIntEnterpId() {
		return intEnterpId;
	}

	public void setIntEnterpId(Integer intEnterpId) {
		this.intEnterpId = intEnterpId;
	}

	public String getVarEnterpName() {
		return varEnterpName;
	}

	public void setVarEnterpName(String varEnterpName) {
		this.varEnterpName = varEnterpName;
	}

	public Integer getIntEnterpTradeType() {
		return intEnterpTradeType;
	}

	public void setIntEnterpTradeType(Integer intEnterpTradeType) {
		this.intEnterpTradeType = intEnterpTradeType;
	}

	public String getVarEnterpLegalPerson() {
		return varEnterpLegalPerson;
	}

	public void setVarEnterpLegalPerson(String varEnterpLegalPerson) {
		this.varEnterpLegalPerson = varEnterpLegalPerson;
	}

	public String getVarEnterpLicenseImgUrl() {
		return varEnterpLicenseImgUrl;
	}

	public void setVarEnterpLicenseImgUrl(String varEnterpLicenseImgUrl) {
		this.varEnterpLicenseImgUrl = varEnterpLicenseImgUrl;
	}

	public String getVarEnterpPhonenum() {
		return varEnterpPhonenum;
	}

	public void setVarEnterpPhonenum(String varEnterpPhonenum) {
		this.varEnterpPhonenum = varEnterpPhonenum;
	}

	public String getVarEnterpEmail() {
		return varEnterpEmail;
	}

	public void setVarEnterpEmail(String varEnterpEmail) {
		this.varEnterpEmail = varEnterpEmail;
	}

	public String getVarEnterpAddress() {
		return varEnterpAddress;
	}

	public void setVarEnterpAddress(String varEnterpAddress) {
		this.varEnterpAddress = varEnterpAddress;
	}

	public Integer getIntDeleteSign() {
		return intDeleteSign;
	}

	public void setIntDeleteSign(Integer intDeleteSign) {
		this.intDeleteSign = intDeleteSign;
	}

	public String getDatUpdateDatetime() {
		return datUpdateDatetime;
	}

	public void setDatUpdateDatetime(String datUpdateDatetime) {
		this.datUpdateDatetime = datUpdateDatetime;
	}

	public String getVarTypeName() {
		return varTypeName;
	}

	public void setVarTypeName(String varTypeName) {
		this.varTypeName = varTypeName;
	}

	public Integer getIntTypeId() {
		return intTypeId;
	}

	public void setIntTypeId(Integer intTypeId) {
		this.intTypeId = intTypeId;
	}
	public void setIntTypeId(String intTypeId) {
		if(!"".equals(intTypeId)){
		this.intTypeId = Integer.parseInt(intTypeId);
		}else{
			this.intTypeId=null;
		}
	}

}
